﻿using CPF;
using CPF.Animation;
using CPF.Charts;
using CPF.Controls;
using CPF.Drawing;
using CPF.Input;
using CPF.Mac.Foundation;
using CPF.Shapes;
using CPF.Styling;
using CPF.Svg;
using CPF.Threading;
using CPFUI;
using CPFUI.IControl;
using CPFUI.IControl.KeyBord;
using CPFUI.IHelper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Timers;
using static System.Net.Mime.MediaTypeNames;

namespace CPFUIDemo
{
    public class Window2 : BaseWindow
    {
        PictrueCropper pictrueCropper;
        Picture pic;
        protected override void InitializeComponent()
        {
            LoadStyleFile("res://CPFUIDemo/Stylesheet1.css");
            //加载样式文件，文件需要设置为内嵌资源
            Title = "标题1";
            Width = 760;
            Height = 641;
            Background = null;
            if (!DesignMode)//设计模式下不执行，也可以用#if !DesignMode
            {

            }
        }
#if !DesignMode //用户代码写到这里，设计器下不执行，防止设计器出错

        //用户代码

#endif
    }
}
